package com.campus.common.domain;

import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;
@ToString
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Message implements Serializable {
    public static final String ADD_REQUEST = "ADD_REQUEST";
    public static final String MESSAGE = "MSG";
    public static final String MESSAGE_ACCEPT = "MSG_ACCEPT";
    public static final String MESSAGE_LIST = "MSG_LIST";
    private String type = "MSG";
    private Object content;
    private Integer friendUserId;
    private Integer ChatGroupId;
    //发送时间
    private LocalDateTime sendTime;
    //客户端的消息id
    private Integer clientMessageId;
}
